package sprredis.com.lei.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Configuration;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;

/**
 * @author miemie
 * @since 2018-08-10
 */
@Configuration
@MapperScan({ "sprredis.com.lei.mapper" })

public class MybatisPlusConfig {

	/**
	 * 分页插件
	 */
	//@Bean
	public PaginationInterceptor paginationInterceptor() {
		return new PaginationInterceptor();
	}
}
